/**
 * Ingenius-Group S.A.S
 *
 * Project: SAU
 * File: ListDocumentsEvent.java
 * Date: 08/02/2011
 */

package com.ingenius.sau.client.event;

import com.google.gwt.event.shared.EventHandler;
import com.google.gwt.event.shared.GwtEvent;
import com.ingenius.sau.client.event.ListDocumentsEvent.ListDocumentsEventHandler;

/**
 * Class <strong>ListEvaluationsEvent</strong>
 * 
 * @author Jesus David
 * @version 0.1
 */
public class ListDocumentsEvent extends GwtEvent<ListDocumentsEventHandler> {

	public interface ListDocumentsEventHandler extends EventHandler {

		void onListDocuments(ListDocumentsEvent event);
	}

	public static Type<ListDocumentsEventHandler> TYPE = new Type<ListDocumentsEventHandler>();

	@Override
	public Type<ListDocumentsEventHandler> getAssociatedType() {
		return TYPE;
	}

	@Override
	protected void dispatch(ListDocumentsEventHandler handler) {
		handler.onListDocuments(this);
	}

}
